//
// Created by nicemoe on 2021/8/15.
//

#include  <iostream>
using namespace std;

template<class T1,class T2>
//c++ 11 后置返回类型
auto gt(T1 x,T2 y) -> decltype(x+y){
    return x+y;
}
int main() {

    int a =20;
    double c = 30.2;
    cout  << gt(a,c);

    return 0;
}
